package Operation;

import Book.Library;

public class ShowBook implements IOperation{
    @Override
    public void work(Library library) {
        System.out.println("展示图书");
        for (int i = 0; i < library.getSize(); i++) {
            System.out.println((i+1) + "、" + library.getBook(i));
        }
    }

}
